<?php

namespace app\api\validate;

use think\Validate;

class SecurityFirst extends Validate
{
    protected $rule = [
        "password" => "require|min:6|confirm",
    ];

    protected $message = [
        'password.require' => '请输入新密码',
        'password.min' => '密码至少6位以上',
        'password.confirm' => '确认密码不相符',
    ];

}